extends Card

func init():
    att.cry = 3
    lv = 1
    type = TYPE.MAGIC
    camp = "m_hearthstone"
    name = "暗影箭"
    dec = "对一个随从造成 4点伤害。"
    att.atk = 4

func _use(card,cell):
    if card != null :
        hurtCard(card,getMgiAtk())
        
func useSelIf(card,cell):
    if card != null && card.type == TYPE.CREATURE && card.canSel:
        return true
    return false